package club.haomoon.core.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "系统配置实体")
public class ConfigData implements Serializable {

    @TableId(value="id", type= IdType.AUTO)
   @Schema(title = "ID")
    private Integer id;

   @Schema(title = "类型")
    private String type;

   @Schema(title = "键")
    private String name;

   @Schema(title = "值")
    private String value;

   @Schema(title = "创建时间")
    private Long createTime;

   @Schema(title = "更新时间")
    private Long updateTime;
}
